package Demo06.Demo09;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private String Pwd;

    public Student(String name, String pwd) {
        this.name = name;
        Pwd = pwd;
    }

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return Pwd;
    }

    public void setPwd(String pwd) {
        Pwd = pwd;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", Pwd='" + Pwd + '\'' +
                '}';
    }
}
